package com.DataFactory;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication {
    public static void main(String[] args) {
        // 启动Eureka服务器
        // ...
        SpringApplication.run(EurekaApplication.class,args);
        System.out.println("Eureka服务器启动成功！");
        // 启动其他微服务应用
        // ...

    }
}
